package flowmodel

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ FlowLifecycleModel = (*customFlowLifecycleModel)(nil)

type (
	// FlowLifecycleModel is an interface to be customized, add more methods here,
	// and implement the added methods in customFlowLifecycleModel.
	FlowLifecycleModel interface {
		flowLifecycleModel
	}

	customFlowLifecycleModel struct {
		*defaultFlowLifecycleModel
	}
)

// NewFlowLifecycleModel returns a model for the database table.
func NewFlowLifecycleModel(conn sqlx.SqlConn) FlowLifecycleModel {
	return &customFlowLifecycleModel{
		defaultFlowLifecycleModel: newFlowLifecycleModel(conn),
	}
}
